multiselection: Fix the select_range implementation
authorMatthias Clasen <mclasen@redhat.com>
Fri, 5 Jun 2020 17:49:32 +0000 (13:49 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 5 Jun 2020 18:57:59 +0000 (14:57 -0400)
commit80fbc1b72d3719c1de9cb82d86c15f22a7433e7f
treed0d55f58bd299f3bb2ab970374913994f1400bf6
parent17ea03eee2194d609f68619faf8d7f8ad81feb59
multiselection: Fix the select_range implementation

When exclusive is TRUE, we would not always emit a
::selection-changed signal that covers all the items
that were unselected.

This commit includes a test.
gtk/gtkmultiselection.c
testsuite/gtk/multiselection.c